'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const a = Symbol.for('yaml.alias'),
  e = Symbol.for('yaml.document'),
  c = Symbol.for('yaml.map'),
  r = Symbol.for('yaml.pair'),
  i = Symbol.for('yaml.scalar'),
  o = Symbol.for('yaml.seq'),
  s = Symbol.for('yaml.node.type'),
  f = t => !!t && typeof t == 'object' && t[s] === a,
  m = t => !!t && typeof t == 'object' && t[s] === e,
  S = t => !!t && typeof t == 'object' && t[s] === c,
  b = t => !!t && typeof t == 'object' && t[s] === r,
  l = t => !!t && typeof t == 'object' && t[s] === i,
  A = t => !!t && typeof t == 'object' && t[s] === o;
function y(t) {
  if (t && typeof t == 'object')
    switch (t[s]) {
      case c:
      case o:
        return !0;
    }
  return !1;
}
function n(t) {
  if (t && typeof t == 'object')
    switch (t[s]) {
      case a:
      case c:
      case i:
      case o:
        return !0;
    }
  return !1;
}
const p = t => (l(t) || y(t)) && !!t.anchor;
exports.ALIAS = a;
exports.DOC = e;
exports.MAP = c;
exports.NODE_TYPE = s;
exports.PAIR = r;
exports.SCALAR = i;
exports.SEQ = o;
exports.hasAnchor = p;
exports.isAlias = f;
exports.isCollection = y;
exports.isDocument = m;
exports.isMap = S;
exports.isNode = n;
exports.isPair = b;
exports.isScalar = l;
exports.isSeq = A;
